﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DbManager.Objects
{
    public class SqlView :
        SqlObject
    {
        public SqlView(String name) : base(name) { }

        #region Public Properties

        private readonly List<SqlField> fields = new List<SqlField>();
        public IEnumerable<SqlField> Fields { get { return fields; } }

        private string _owner;
        public string Owner { get { return _owner; } set { _owner = value; } }

        #endregion


        #region Overrides

        protected override void Init()
        {            
        }

        public override bool CanBeNull()
        {
            return true;
        }
        #endregion 
    }
}
